OK, so we've dealt with various different ways on how to open files or deal with multiple files and
film, but there's a nice way that you can actually open all the files in them once and then save it
in like what I call a workspace.
But it's actually called a session.
And essentially what this does is it saves all the files open at once so that you don't have to continuously,
you know, open each file individually and go through this whole rigmarole.
I mean, the whole point of them is to make things fast.
So obviously, this session, the idea of using a session is to speed things up.
So that's the whole idea of using it.
So I'm going to open up these all these files and I'm using that
whatever you want to use P to open up these files in their own tabs and that will basically open them
and input these three files in their own taps.
Now, obviously, you would use source code files for this, not just text files, but I'm just using
this as an illustration.
So as you can see, all three files are open and, you know, essentially all in separate tabs.
Now, obviously, in each tab, you can have separate files so you can actually open either the same
file in a multiple tab format or multiple, you know, a split screen, that sort of thing.
So you can have more than three.
I think the maximum well, the maximum you can set actually is in your PMRC file, which we will get
to later.
But I want to now save this.
As a session and I'm putting in a session and then I'm going to put text files at them.
OK, so now what this is doing is it's creating a session file, text files, that vem that will basically
open this session, meaning that all of these three files are going to be open when you open text files,
that vem.
So as opposed to opening all three files separately by doing what I showed you before, you just have
to open up one session or one workspace.
So.
So how do you know that we save that?
So I'm going to.
Text files at them.
All right, I want to name it as text that men just call it something else anyway, as you can see,
I'm not a perfect person.
I make errors.
So I'm anyway, I'm going to save this as a session as text that vem, which I'm pretty sure is your
nickname anyway.
It has to be a unique name.
And obviously you're going to have to you would have to overwrite it by hitting the exclamation point.
OK, so that saved it, so now I'm going to quit out of all of these and I'm doing cueball, which is
quit all, and that will get us out of this particular session.
Now, if I wanted to open the session, I go Vem Dash as text, not them.
And you can see the session is saved and I've open up the entire file.
So if I wanted to save all and quit, I would be w q all and that would write all of the files, save
all the files that, you know, all the changes and then quit all of them.
So that's one way for you to enter to basically to exit it.
Now obviously if you don't want to see the changes, you would hit the exclamation point behind that.
So that help hopefully will show you a way to create basically a session file or a workspace file or
maybe even a solution file.
If you want to, you know, hearken back to the days of Visual Studio, how you can save multiple files
in one file and how you can work on multiple files just by opening up one file.
So I hope you find this lesson to be helpful.
So you open up most you can open up all files in tabs by hitting DSP, but session is Dush.
S and the S actually has to be capital.
You have to keep in mind that in Linux things are case sensitive.
So when I show you something, please, please do it exactly as I did, because otherwise you open up
a basically you open up the text file, which you will find is actually a session file and you may not
understand it.
So with that in mind, hopefully you found this to be useful.
Hopefully you can find this particular trick or tip helpful in your day to day workflow.